<?php namespace AlexBurcow\Fayna\Updates;

use Schema;
use October\Rain\Database\Updates\Migration;

class BuilderTableCreateAlexburcowFaynaZamorozka extends Migration
{
    public function up()
    {
        Schema::create('alexburcow_fayna_zamorozka', function($table)
        {
            $table->engine = 'InnoDB';
            $table->integer('id');
            $table->text('vnalishii');
            $table->text('nazvanie');
            $table->text('opisanie');
            $table->text('zena');
            $table->text('kartinka');
        });
    }
    
    public function down()
    {
        Schema::dropIfExists('alexburcow_fayna_zamorozka');
    }
}
